import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {MsgCenterZxComponent} from "./msg-center-zx/msg-center-zx.component";
import {MsgCenterGlcComponent} from "./msg-center-glc/msg-center-glc.component";

const routes: Routes = [
  {
    path: '', children: [
      {path: 'zx', component: MsgCenterZxComponent},
      {path: 'glc', component: MsgCenterGlcComponent},
    ]
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class MsgCenterRoutingModule { }
